home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
The World of Computer Software.iso
/
dfpp01.zip
/
RADIO.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-21
|
631b
|
29 lines
// ----------- radio.h
#ifndef RADIO_H
#define RADIO_H
#include "textbox.h"
class RadioButton : public TextBox {
virtual void SetColors();
Bool setting;
public:
RadioButton(char *lbl, int lf, int tp, DFWindow *par);
virtual ~RadioButton()
{ if (windowstate != CLOSED) CloseWindow(); }
// -------- API messages
virtual void OpenWindow();
virtual void CloseWindow();
virtual Bool SetFocus();
virtual void ResetFocus();
virtual void Paint();
virtual void Keyboard(int key);
virtual void LeftButton(int mx, int my);
void PushRadioButton();
void ReleaseRadioButton();
};
#endif